package com.zs.toolbox.web2j.system.message.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author shuai.zhang  on 2018/9/22
 * @description
 */
@ApiModel("发送邮件接口")
@Data
public class WxSendSmsRequest {
    @ApiModelProperty("要发送的接受地址列表")
    @Size(min = 1)
    List<String> phone;

    @ApiModelProperty("要发送的内容")
    @NotBlank(message = "内容不能为空")
    String content;
}
